package com.heima.oopAdvanced.n05interface;

public class demo {
    public static void main(String[] args) {
        // 编写带有接口和抽象类的标准JavaBean类
        Frog f = new Frog("青蛙", 2);
        f.eat();
        f.swim();
    }
}
